#include "TrChartAxisX.h"
#include <QPainter>

TrChartAxisX::TrChartAxisX(QWidget *parent) : QWidget(parent)
{
    setFixedHeight(g_iAxisXAreaHeight);

}

void TrChartAxisX::paintEvent(QPaintEvent* event)
{
    Q_UNUSED(event)

    QPainter painter(this);
    QPen     pen;
    pen.setColor(TrColor_BackGrid);
    pen.setWidth(1);
    painter.setPen(pen);
    painter.drawLine(0, 0, width(), 0);
}
